//
// Created by fazhehy on 2024/7/5.
//

#ifndef BLDC_SPEED_H
#define BLDC_SPEED_H

#include "li_common_inc.h"
extern float bldc_angle_use;
extern float bldc_angle_ref;

void data_send();
void bldc_speed_init();
uint32_t bldc_speed_get_value();
void bldc_angle_callback();
void foc_callback();
void speed_control_callback();
void angle_calibration(uint8_t hall_value,int8_t turn_direction);

#endif //BLDC_SPEED_H
